namespace ThingsGateway.Foundation.Http
{
    /// <summary>
    /// Http请求事件类
    /// </summary>
    public class HttpContextEventArgs : SocketEventArgs
    {
        /// <summary>
        /// Http上下文
        /// </summary>
        public HttpContext Context { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context"></param>
        public HttpContextEventArgs(HttpContext context)
        {
            Context = context;
        }
    }
}